package com.example.demo.model;

import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-12-06
 * Time: 19:56
 */
@Data
public class ArticleInfo {
    private int id;
    private String title;
    private String content;
    private Date createtime;
    private Date updatetime;
    private int uid;
    private int rcount;//访问量
    private int state;//状态（预览字段）
    private String name;//文章作者名(连接表需要查询的字段添加到实体类)(多表查询要拿到文章作者名，所以多加一个属性)
}
